<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>{$tpshop_config['shop_info_store_title']}</title>
<meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<link rel="stylesheet" href="__STATIC__/css/cart.css" type="text/css">
<link rel="stylesheet" href="__STATIC__/css/myuser.css" type="text/css">
</head>

<body>

<include file="Public/header" />
<include file="Public/topnav" />

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius page_hidden">
      <div class="page_padin">
        <div class="user_page">
          <div class="user_poi">当前位置：首页 &gt; <span>订单支付</span></div>
          <div class="user_left">
            <include file="User/userleft" />
          </div><!--user_left-->

          <div class="user_right">
            <div class="after-ta order-ha">
              <div class="erhuh">
                <i class="icon-succ"></i>
                <h3>订单提交成功，请您尽快付款！</h3>

                <php>if($type=='recharge'){</php>
                <p class="succ-p">订单号 ：&nbsp;&nbsp;{$order['order_sn']} </p>
                <p class="succ-p">订单类型 ：&nbsp;&nbsp;<span>充值</span> </p>

                <p class="succ-p">充值金额 ：&nbsp;&nbsp;<b>{$order['account']}</b>&nbsp;<b>元</b></p>
                <php>}else{</php>
                <p class="succ-p">订单号 ：&nbsp;&nbsp;{$order['order_sn']} </p>
                <p class="succ-p">店铺价格 ：&nbsp;&nbsp;<span>{$order['price']}</span>&nbsp;<span>元</span></p>
                <p class="succ-p">保证金 ：&nbsp;&nbsp;<span>{$order['b_price']}</span>&nbsp;<span>元</span></p>
                <p class="succ-p">技术年费 ：&nbsp;&nbsp;<span>{$order['j_price']}</span>&nbsp;<span>元</span></p>
                <p class="succ-p">手续费 ：&nbsp;&nbsp;<span>{$order['s_price']}</span>&nbsp;<span>元</span>
                  <span style="color:red">
                    <if condition="$goods_type eq 3">
                      (店铺价格的10%)
                      <else/>
                      (店铺总价的10%)
                    </if>
                  </span>

                </p>
                <p class="succ-p">总价 ：&nbsp;&nbsp;<b>{$order['total_amount']}</b>&nbsp;<b>元</b></p>
                <p class="succ-p">当前应付款 ：&nbsp;&nbsp;<b>{$order['pay_price']}</b>&nbsp;<b>元</b> <span style="color:red;">(支付定金后保留7天)</span></p>
                
                <p><h3 style="color:red;">请您在预留期内支付定金，如果发现店铺与我们网站描述的不符，7天内可以申请退款，超过7天或者非我方过错导致交易无法往下进行的，均无法退回本次支付的定金，请知悉！</h3></p>
                <!--<p><h3  style="color:red;">店铺下单后，如果发现店铺与我们网站描述的不符，7天内可以发起申请退款，超过七天或者非我方过错导致交易无法往下进行的，均无法退回本次支付的定金，请知悉！</h3></p>-->




                <php>}</php>

              </div>
              <!--<div class="ddxq-xiaq">
              <if condition="$order['user_id'] eq ''" >
              <a href="{:U('Home/Cart/order_detail',array('id'=>$order['order_id']))}">
              {$Think.lang.order_details}
              <i></i>
              </a>
              <else />
              <a href="{:U('Home/User/order_detail',array('id'=>$order['order_id']))}">
              {$Think.lang.order_details}
              <i></i>
              </a>

              </if>
              </div>-->
              <form action="{:U('Home/Payment/getCode')}" method="post" name="cart4_form" id="cart4_form">
                <div class="orde-sjyy">
                  <h3 class="titls">选择支付方式 </h3>
                  <div class="bsjy-g">
                    <dl>
                      <dd>

                        <div class="order-payment-area">
                          <div class="dsfzfpte">
                            <b>支付方式</b>
                          </div>
                          <div class="po-re dsfzf-ee">
                            <ul>
                              <foreach name="paymentList" item="v"  key="k">
                                <li>
                                  <div class="payment-area">
                                    <input type="radio" id="input-ALIPAY-1" value="pay_code={$v['code']}" class="radio vam" name="pay_radio" >
                                    <label for="">
                                      <img src="/plugins/{$v['type']}/{$v['code']}/{$v['icon']}" width="120" height="40" onClick="change_pay(this);" />
                                    </label>
                                  </div>
                                </li>
                              </foreach>
                            </ul>
                          </div>
                        </div>

                        <!--第三方网银支付 start-->
        <!--                <foreach name="bankCodeList" item="v"  key="k">
                          <div class="order-payment-area" style="display:none;">
                            <div class="dsfzfpte">
                              <b>{$paymentList[$k]['name']}</b>
                              <em>网银支付</em>
                            </div>
                            <div class="po-re dsfzf-ee">
                              <ul>
                                <foreach name="v" item="v2"  key="k2">
                                  <li>
                                    <div class="payment-area">
                                      <input type="radio" name="pay_radio" class="radio vam" value="pay_code={$k}&bank_code={$v2}" id="input-ALIPAY-1">
                                      <label for="">
                                        <img src="__STATIC__/images/images-out/{$bank_img[$k2]}" width="120" height="40" onClick="change_pay(this);"/>
                                      </label>
                                    </div>
                                  </li>
                                </foreach>
                              </ul>
                            </div>
                          </div>
                        </foreach>-->
                        <!--第三方网银支付 end -->

                      </dd>
                    </dl>
                    <div class="order-payment-action-area">
                      <a class="gbutton gbutton_col1" href="javascript:void(0);" onClick="$('#cart4_form').submit();" >确认支付方式</a>
                    </div>
                  </div>
                </div>
                <input type="hidden" name="order_id" value="{$order['order_id']}" />
              </form>
            </div>
          </div><!--user_right-->
          <div class="clear"></div>
        </div><!--user_page-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->

<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/pc_common.js"></script>
<script>
    $(document).ready(function(){
        $("input[name='pay_radio']").first().trigger('click');
    });
    // 切换支付方式
    function change_pay(obj)
    {
        $(obj).parent().siblings('input[name="pay_radio"]').trigger('click');
    }
</script>

<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->

</body>
</html>
